<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>UCARPP: includes/add.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">UCARPP
   &#160;<span id="projectnumber">1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('add_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">includes/add.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="add_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef ADD_H_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define ADD_H_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;<a class="code" href="vehicleState_8h.html">vehicleState.h</a>&quot;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;<a class="code" href="tabooList_8h.html">tabooList.h</a>&quot;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &quot;<a class="code" href="gMatrix_8h.html">gMatrix.h</a>&quot;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &quot;<a class="code" href="los_8h.html">los.h</a>&quot;</span>
<a name="l00008"></a>00008 
<a name="l00012"></a><a class="code" href="add_8h.html#aeb95526a9a147714274fb8ef60240141">00012</a> <span class="preprocessor">#define ADD_DOUBLE_ADDTENURE 0</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00034"></a>00034 <span class="keywordtype">int</span> <a class="code" href="add_8h.html#a5d19f29d3638b195646089624db930b0">solveAddNeighbourhood</a>(<a class="code" href="structGraph.html">Pgraph</a> p_graph, <a class="code" href="structVehicleState.html">PvehicleState</a> p_state, <a class="code" href="structGMatrix.html">PGMatrix</a> p_gMat, <span class="keywordtype">int</span> k, <a class="code" href="structTabooList.html">PtabooList</a> p_tabooList, <a class="code" href="tabooExpire_8h.html#a03a425df65af050afbb5cab3c16f4263">TabooExpire</a> now, <a class="code" href="structLOSConfiguration.html">pLOSConfiguration</a> pLOSconfig, <span class="keywordtype">bool</span> notWorseningMoves);
<a name="l00035"></a>00035 
<a name="l00039"></a>00039 <span class="keywordtype">void</span> <a class="code" href="add_8h.html#aecb5a169f34cb1340178a74fe482b4e8">makeAddMove</a>(<a class="code" href="structGraph.html">Pgraph</a> p_graph, <a class="code" href="structVehicleState.html">PvehicleState</a> p_state, <a class="code" href="structGMatrix.html">PGMatrix</a> p_gMat, <span class="keywordtype">int</span> k, <a class="code" href="structTabooList.html">PtabooList</a> p_tabooList, <a class="code" href="tabooExpire_8h.html#a03a425df65af050afbb5cab3c16f4263">TabooExpire</a> now, <a class="code" href="structBestAddRemoveChoice.html">PbestAddRemoveChoice</a> p_best, <span class="keywordtype">int</span> addTenure, <span class="keywordtype">int</span> removeTenure);
<a name="l00040"></a>00040 
<a name="l00042"></a>00042 <span class="keywordtype">void</span> <a class="code" href="add_8h.html#a3f64d88680126600afbf9f85ad807a63">updateBestAddChoice</a>(<a class="code" href="structBestAddRemoveChoice.html">PbestAddRemoveChoice</a> p_bestchoice, <a class="code" href="structEdgeID.html">EdgeID</a> e_il, <a class="code" href="structEdgeID.html">EdgeID</a> e_jl, <a class="code" href="structEdgeID.html">EdgeID</a> e_ij, <a class="code" href="graph_8h.html#ad8909b856fa70c7731c787994276fb03">Weight</a> score);
<a name="l00043"></a>00043 
<a name="l00045"></a>00045 <span class="keywordtype">void</span> <a class="code" href="add_8h.html#a67e3232f91bb1362402ca0737d3ae70e">analyzeDoubleEdgeAddSubNeighbourhood</a>(<a class="code" href="structGraph.html">Pgraph</a> p_graph, <a class="code" href="structVehicleState.html">PvehicleState</a> p_state, <a class="code" href="structGMatrix.html">PGMatrix</a> p_gMat,
<a name="l00046"></a>00046                                                                                 <a class="code" href="structTabooList.html">PtabooList</a> p_taboo, <a class="code" href="tabooExpire_8h.html#a03a425df65af050afbb5cab3c16f4263">TabooExpire</a> now, <a class="code" href="structBestAddRemoveChoice.html">PbestAddRemoveChoice</a> p_best, <a class="code" href="structEdgeID.html">PedgeID</a> p_edge, <span class="keywordtype">int</span> evaluateMode);
<a name="l00047"></a>00047 
<a name="l00056"></a>00056 <a class="code" href="graph_8h.html#ad8909b856fa70c7731c787994276fb03">Weight</a> <a class="code" href="add_8h.html#a9c4a081f484f760cf1e1732a0ed576b3">analyzeDoubleEdgeAddCandidate</a>(<a class="code" href="structGraph.html">Pgraph</a> p_graph, <a class="code" href="structEdgeID.html">EdgeID</a> edge, <a class="code" href="structVehicleState.html">PvehicleState</a> p_state, <a class="code" href="structGMatrix.html">PGMatrix</a> p_gMat, <a class="code" href="structTabooList.html">PtabooList</a> p_taboo, <a class="code" href="tabooExpire_8h.html#a03a425df65af050afbb5cab3c16f4263">TabooExpire</a> now, <span class="keywordtype">int</span> evaluateMode);
<a name="l00057"></a>00057 
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="add_8h.html#a4f2ae802a34b90cf947633522efcfaf1">analyzeTriangleEdgeAddSubNeighbourhood</a>(<a class="code" href="structGraph.html">Pgraph</a> p_graph, <a class="code" href="structVehicleState.html">PvehicleState</a> p_state, <a class="code" href="structGMatrix.html">PGMatrix</a> p_gMat, <span class="keywordtype">int</span> k, <a class="code" href="structTabooList.html">PtabooList</a> p_taboo, <a class="code" href="tabooExpire_8h.html#a03a425df65af050afbb5cab3c16f4263">TabooExpire</a> now,
<a name="l00061"></a>00061                                                                                         <a class="code" href="structBestAddRemoveChoice.html">PbestAddRemoveChoice</a> p_best, <a class="code" href="structEdgeID.html">PedgeID</a> p_edge, <span class="keywordtype">int</span> evaluateMode);
<a name="l00062"></a>00062 
<a name="l00075"></a>00075 <a class="code" href="graph_8h.html#ad8909b856fa70c7731c787994276fb03">Weight</a> <a class="code" href="add_8h.html#ad3f8086b0261cf1bd3d14623371531bf">analyzeTriangleEdgeAddCandidate</a>(<a class="code" href="structGraph.html">Pgraph</a> p_graph, <a class="code" href="structEdgeID.html">EdgeID</a> p_edge, <a class="code" href="structEdgeID.html">EdgeID</a> p_sx, <a class="code" href="structEdgeID.html">EdgeID</a> p_dx,
<a name="l00076"></a>00076                                                                          <a class="code" href="structVehicleState.html">PvehicleState</a> p_state, <a class="code" href="structGMatrix.html">PGMatrix</a> p_gMat, <span class="keywordtype">int</span> k, <a class="code" href="structTabooList.html">PtabooList</a> p_taboo, <a class="code" href="tabooExpire_8h.html#a03a425df65af050afbb5cab3c16f4263">TabooExpire</a> now, <span class="keywordtype">int</span> evaluateMode);
<a name="l00077"></a>00077 
<a name="l00085"></a>00085 <span class="keywordtype">bool</span> <a class="code" href="add_8h.html#a91413a51eb27b7ba1cc6406015def11d">isTQOKDoubleAdd</a>(<a class="code" href="structGraph.html">Pgraph</a> graph, <a class="code" href="structVehicleState.html">PvehicleState</a> state, <a class="code" href="structGMatrix.html">PGMatrix</a> p_gMat, <a class="code" href="structEdgeID.html">PedgeID</a> toadd1);
<a name="l00086"></a>00086 
<a name="l00096"></a>00096 <span class="keywordtype">bool</span> <a class="code" href="add_8h.html#aee042dfe90fca0aa7aad103577661745">isTQOKTriangleAdd</a>(<a class="code" href="structGraph.html">Pgraph</a> graph, <a class="code" href="structVehicleState.html">PvehicleState</a> state, <a class="code" href="structGMatrix.html">PGMatrix</a> p_gMat, <a class="code" href="structEdgeID.html">PedgeID</a> toremove, <a class="code" href="structEdgeID.html">PedgeID</a> toadd1, <a class="code" href="structEdgeID.html">PedgeID</a> toadd2, <span class="keywordtype">int</span> k);
<a name="l00097"></a>00097 
<a name="l00098"></a>00098 <span class="preprocessor">#endif </span><span class="comment">/* ADD_H_ */</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="add_8h.html">add.h</a>      </li>

    <li class="footer">Generated on Wed Sep 4 2013 06:38:56 for UCARPP by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
